package com.umpay.dto.spay;

import com.umpay.annotation.Pattern;

public class Batch {

	private int id;
	@Pattern(message = "名字格式不正确")
	private String name;
	private String suppliers;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

    
    public String getSuppliers() {
        return suppliers;
    }

    
    public void setSuppliers(String suppliers) {
        this.suppliers = suppliers;
    }

    @Override
    public String toString() {
        return "Batch [id=" + id + ", name=" + name + ", suppliers=" + suppliers + "]";
    }

}
